riscv: Enlarge the default SYS_MALLOC_F_LEN
authorBin Meng <[email protected]>
Wed, 12 Dec 2018 14:12:33 +0000 (06:12 -0800)
committerAndes <[email protected]>
Tue, 18 Dec 2018 01:56:27 +0000 (09:56 +0800)
Increase the heap size for the pre-relocation stage, so that CPU
driver can be loaded.

Signed-off-by: Bin Meng <[email protected]>
Reviewed-by: Lukas Auer <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
arch/riscv/Kconfig

index 39ca2d829c6400877c710f0a89b521c3381536a8..c45e4d73a8ccbda296fdeff4aa583c42f650e1e8 100644 (file)
@@ -113,4 +113,7 @@ config RISCV_RDTIME
          standard rdtime instruction. This is the case for S-mode U-Boot, and
          is useful for processors that support rdtime in M-mode too.
 
+config SYS_MALLOC_F_LEN
+       default 0x1000
+
 endmenu